import request from '@/utils/request'

// 查询报价记录列表
export function listQuoteRecord(query) {
  return request({
    url: '/supply/quoteRecord/list',
    method: 'get',
    params: query
  })
}

// 查询报价记录详细
export function getQuoteRecord(id) {
  return request({
    url: '/supply/quoteRecord/' + id,
    method: 'get'
  })
}

// 新增报价记录
export function addQuoteRecord(data) {
  return request({
    url: '/supply/quoteRecord',
    method: 'post',
    data: data
  })
}

// 修改报价记录
export function updateQuoteRecord(data) {
  return request({
    url: '/supply/quoteRecord',
    method: 'put',
    data: data
  })
}

// 删除报价记录
export function delQuoteRecord(id) {
  return request({
    url: '/supply/quoteRecord/' + id,
    method: 'delete'
  })
}
